package com.chat.db.nosql.redis;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisCluster;

/**
 * redis统一操作处理
 */
public class DbRedis {
    private Jedis tDb;
    private JedisCluster cluster;
    // 加入避免单机的重复链接问题
    private boolean isSingle;

    public DbRedis(Jedis tDb, JedisCluster cluster, boolean isSingle) {
        this.tDb = tDb;
        this.cluster = cluster;
        this.isSingle = isSingle;
    }

    public String get(String key) {
        return null;
    }

    public void set(String key, String value) {

    }

    public void del(String key) {

    }



}
